<template>
	<view>
		<u-cell-group>
			<u-cell class="cell" title="支付管理" isLink url="/pages/mine/payment"></u-cell>
			<u-cell class="cell" title="地址管理" isLink url="/pages/mine/AddressManagement"></u-cell>
			<!-- <u-cell></u-cell> -->
			<u-cell class="cell" title="版本信息" isLink url="/pages/mine/version"></u-cell>
			<!-- <u-cell></u-cell> -->
			<u-cell class="cell" title="用户与安全" isLink url="/pages/mine/safe"></u-cell>
			
			<u-cell class="cell" title="修改手机号" isLink url="/pages/mine/setphone"></u-cell>
		</u-cell-group>
		<view class="quit">
			<view @click="outlogin" class="button">
				退出登录
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			outlogin() {
				uni.clearStorageSync();
				uni.reLaunch({
					url: '/pages/login/login'
				});
			}
		}
	}
</script>

<style>
	page {
		background-color: rgb(229, 231, 233);
	}

	.cell {
		background-color: rgb(255, 255, 255);
	}

	.quit {
		text-align: center;
		margin-top: 180rpx;
	}

	.button {
		display: inline-block;
		border-radius: 40rpx;
		border: 2rpx solid #979797;
		color: #979797;
		padding: 10rpx 40rpx;
	}
</style>
